package cn.taobaoke.restful.domain;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * AccountsRepository类. +-----------------------------------------------------------------------------------------------+
 * |类名称: AccountsRepository | |创建时间: 5/31/17 | |功能简介: | |参考链接: | +-----------------------------------------------------------------------------------------------+
 *
 * @author luch
 */
public interface AccountsRepository extends JpaRepository<AccountsEntity, Long> {
    List<AccountsEntity> findByAgentId(Long agentId);
}
